Skip to content

Conversation

@colesbury
Copy link
Contributor

This shows how to use C11 atomics in coveragepy.

@nedbat
Copy link
Owner

nedbat commented Aug 8, 2025

Thanks. For us compiler newbs who need to understand what compilers are used for what versions on what platforms, is there a CPython reference I can use?

@colesbury
Copy link
Contributor Author

I think the choice is made by setuptools, configurable by your project. For Windows it will be MSVC. For Linux and macOS it will be GCC or Clang.

@colesbury
Copy link
Contributor Author

For CPython supported platforms and compilers, see PEP 11. It's basically:

Windows: MSVC
Everything else: GCC or Clang

GCC vs. Clang doesn't really matter much. Clang tries hard to be GCC compatible. Now that Clang is popular, GCC even tries to be Clang compatible.

@nedbat
Copy link
Owner

nedbat commented Aug 9, 2025

Thanks, this has been incorporated into #2019.

@nedbat nedbat closed this Aug 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants